<!-- 单据设置 –预结单 -->
<template>
  <div>
    <div class="more-bill-card">
      <div class="title">一粒米餐厅</div>
      <div class="description">【预结单】</div>
      <div class="desc-item">
        <div>桌台：A01(15人)</div>
        <span>张婉文</span>
      </div>
      <div class="desc-item">
        <div>单号：XD-2102122545-0001（第1次打印）</div>
        <span>17：36：12</span>
      </div>
      <div class="desc-item">
        <div>时间：2021-07-30</div>
        <span>午市</span>
      </div>
      <div class="desc-item">
        <div>菜品</div>
        <span>单价</span>
        <p>数量</p>
        <p>金额</p>
      </div>
      <div class="desc-line"></div>
      <div class="desc-item">
        <div>*燕窝粥</div>
        <span>200.00</span>
        <p>1份</p>
        <span>200.00</span>
      </div>
      <div class="desc-item">
        <div>（加热、少辣）</div>
      </div>
      <div class="desc-line"></div>
      <div class="desc-item">
        <div>原价：</div>
        <span>200.00</span>
      </div>
      <div class="desc-item">
        <div>赠送金额：</div>
        <span>200.00</span>
      </div>
      <div class="desc-item">
        <div>退菜金额：</div>
        <span>200.00</span>
      </div>
      <div class="desc-item">
        <div>折扣额（8折）：</div>
        <span>200.00</span>
      </div>
      <div class="desc-item">
        <div>调整零头：</div>
        <span>200.00</span>
      </div>
      <div class="desc-item">
        <div>应收：</div>
        <span>200.00</span>
      </div>
      <div class="desc-line"></div>
      <div class="desc-item">
        <div>会员卡号：</div>
        <span>200.00</span>
      </div>
      <div class="desc-item">
        <div>会员等级：</div>
        <span>200.00</span>
      </div>
      <div class="desc-item">
        <div>会员姓名：</div>
        <span>200.00</span>
      </div>
      <div class="desc-item">
        <div>积分账户：</div>
        <span>200.00</span>
      </div>
      <div class="desc-item">
        <div>账户余额：</div>
        <span>200.00</span>
      </div>
      <div class="address-box">
        <p>贵阳市南明区中华南路52号钻石广场3006</p>
        <p>订座电话：400-0851-123</p>
        <p>技术支持：贵州一粒米科技有限公司</p>
       
      </div>
    </div>
  </div>
</template>

<script setup>
// 这个组件不需要特殊逻辑，只是展示
// 原始代码中有注释掉的API调用逻辑，如需要可以后续添加
</script>

<style lang="scss" scoped>
.more-bill-card {
  width: 420px;
  height: 986px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 3px 0px 24px 0px rgba(0, 0, 0, 0.16);
  box-sizing: border-box;
  padding: 30px 30px 0 30px;
  .title {
    font-size: 20px;
    font-family: PingFang SC, PingFang SC-Bold;
    font-weight: 700;
    text-align: center;
    color: #333333;
  }
  .description {
    font-size: 16px;
    font-family: PingFang SC, PingFang SC-Bold;
    font-weight: 700;
    text-align: center;
    color: #333333;
    margin: 10px 0;
  }
  .desc-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    font-family: PingFang SC, PingFang SC-Bold;
    font-weight: 700;
    color: #333333;
    margin-top: 10px;
  }
  .desc-line {
    width: 360px;
    height: 1px;
    background: #e2e2e2;
    margin-top: 10px;
  }
  .address-box {
    font-size: 12px;
    font-family: PingFang SC, PingFang SC-Regular;
    font-weight: 400;
    text-align: center;
    color: #333333;
    line-height: 24px;
    margin-top: 60px;
  }
}
</style>
